/* 背景 */
.container {
    background: linear-gradient(to bottom right, #4e73df, #2c3e50); /* 渐变背景 */
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* 标题 */
  .header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .title {
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
  }
  
  /* 输入框和按钮 */
  .form-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
  }
  
  .input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #f9f9f9;
  }
  
  .search-btn {
    width: 100%;
    padding: 14px;
    background-color: #4e73df;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-btn:hover {
    background-color: #2c3e50;
  }
  
  /* 查询结果 */
  .result {
    margin-top: 20px;
  }
  
  .result-title {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .score-card {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .score-card:hover {
    transform: scale(1.02);
  }
  
  .icon {
    width: 40px;
    height: 40px;
    background: #4e73df;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .icon text {
    color: white;
    font-size: 18px;
    font-weight: 600;
  }
  
  .info {
    flex: 1;
  }
  
  .subject {
    font-size: 18px;
    font-weight: 600;
    color: #333;
  }
  
  .score {
    font-size: 16px;
    color: #777;
  }
  
  /* 总分卡片 */
  .total-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  
  .total-label {
    font-size: 18px;
    font-weight: 600;
    color: #4e73df;
  }
  
  .total-score {
    font-size: 22px;
    font-weight: 700;
    color: #4e73df;
  }
  
  /* 无结果提示 */
  .no-result {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: #e74c3c;
  }
  